﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Pc_Vision.Model
{
    public class Categorie
    {
        public string categorieName, categorieDescription, id;

        public string CategorieName
        {
            set { this.categorieName = categorieName; }
            get { return this.categorieName; }
        }


        public string CategorieDescription
        {
            set { this.categorieDescription = categorieDescription; }
            get { return this.categorieDescription; }
        }

        public string Id
        {
            set { this.id = id; }
            get { return this.id; }

        }

        public void fn_ReturnCategorie()
        {


            DAOFactorys.DAOcategorie categorie = new DAOFactorys.DAOcategorie();
            categorie.InsertCategorie(this);

        }

    }
}